home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 3234 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: f411.n201!not-for-mail
  2. Newsgroups: comp.sys.cbm
  3. X-Comment-To: William Nolan
  4. From: Pontus Berg <Pontus.Berg@p71.anet.canit.se>
  5. Date: Fri, 01 Mar 96 23:49:35 +0100
  6. Subject: Programming (assembler) Question
  7. Message-ID: <825745775@p71.f411.n201.z2.ftn>
  8. References: <2946196992@andrew.cmu.edu>
  9. Organization: BoArDgasm, Farsta, Sweden
  10. X-FTN-AREA: CANIT_COMP_SYS_CBM
  11. X-FTN-MSGID: 2:201/411.71 3137e16f
  12. X-FTN-REPLY: andrew.cmu.edu af9b6600
  13. X-FTN-CHRS: IBMPC 2
  14. X-FTN-Tearline: Spot 1.3a #676
  15. X-FTN-Origin: BoArDgasm, Farsta, Sweden (2:201/411.71)
  16. X-FTN-SEEN-BY: 201/411 
  17. X-FTN-PATH: 201/411 
  18. X-FTN-PATH: 201/411
  19.  
  20. In a message of 01 Mar 96 William Nolan wrote to All:
  21.  
  22.  WN> I see what you are saying about putting all the packed data after the
  23.  WN> code and then unpacking it to the correct places -- good idea.  I still
  24.  WN> have to learn which packers to use, how they work etc.  Got any
  25.  WN> reccomendations?  (You were right, I am including all the data into the
  26.  WN> main source, very sloppy I know but at this point it didn't bother me.
  27.  WN> As I go on though I'll start organizing better).
  28.  
  29. There are two ways to go for a packer! You can assembler to memory and save out
  30. the entire hunk (with zerofilled memory in between) or you can save each piece
  31. of "active" data/code separately!
  32.  
  33. The "one hunk" packers are normally so much better than the linkers so I'd
  34. recommend this actually. There are linkers that makes the segments into one big
  35. file with lots of zeros in between; One that springs to mind is "Exterminator"
  36. which I have right here if you want it. It needs a REU though...
  37.  
  38. I'd like to stress that the zeros in between are REALLY important for
  39. minimizing the end result. Zeros compress into the nothing they are ;-) but
  40. "garbage" data is really so much harder to perform decent packresults on!
  41.  
  42. )==========================================================(
  43. )  o/    Bacchus@FairLight.COM  Fido: 2:201/411.71         (
  44. ) (#  I'm a "geek tool" so ask about emulators elsewhere!  (
  45. )=/7=======================================================(
  46.  
  47. ... Marx got ONE thing  -  Religion is an opium for the people
  48.     (Pontus Berg)
  49.